package com.yugao.fintech.antelope.base.model.constants;


public interface RequestCons {

    interface Param {
        String TENANT_ID = "tenant_id";
    }

    interface Headers {
        /**
         * 终端
         */
        String TERMINAL = "x-terminal";

        /**
         * 访问密钥id
         */
        String ACCESS_SECRET_ID = "accessSecretId";

        /**
         * 请求开始时间
         */
        String REQUEST_START_TIME = "REQUEST-START-TIME";

        /**
         * 表明供客户端调用的签名api
         */
        String CLIENT_SIGN_API = "sign-api=client";

        /**
         * 访问密钥key
         */
        String ACCESS_SECRET_KEY = "accessSecretKey";

        String APP_ID = "x-app-id";

        /**
         * 系统类型
         */
        String SYSTEM_TYPE = "system-type";

        /**
         * 租户
         */
        String TENANT_ID = "x-tenant-id";

        /**
         * 请求的来源, 前端如果不指定, 默认为当前请求域名
         */
        String ORIGIN_ENDPOINT = "origin-endpoint";

        String WEB_SOCKET_TOKEN = "Sec-WebSocket-Protocol";


        /**
         * 登录用户
         */
        String LOGIN_USER = "login_user";
    }
}
